import React, { useEffect, useState } from "react";
import { Form, InputNumber, message, notification, Select, Checkbox, Input, Button, Upload } fro
// 手动发货
export default props => {
	const { ids } = props;
	return (
		<>
			<div>共包含订单数：{ids.length}</div>
			<Form.Item
				label="请输入包裹重量"
				name="weight"
				rules={[
					{
						required: true,
						message: "请输入包裹重量"
					},
					{
						pattern: /^(0|[1-9][0-9]*){1}(\.[0-9]{1,2})?$/,
						message: "包裹重量必须是数字，大于等于0且只能最多有二位小数"
					}
				]}
			>
				<InputNumber min={0} step={0.01} style={{ width: 100 }} placeholder="kg" />
			</Form.Item>
			<div>
				<p className="common-color9">注：</p>
				<p className="common-color9">普通订单和一单多包的订单，建议分开勾选操作</p>
				<p className="common-color9">如果勾选订单里有这两种订单，会跳过“一单多包”订单</p>
			</div>
		</>
	);
};
